<template>
  <div class="PaySuccess_container">
    <header>
        <ul>
            <span @click="toIndex()">完成</span>
            <li><img src="/img/支付宝图标2.png"></li>
            <li><p>支付成功</p></li>
            <li><h1>￥17.95</h1></li>
        </ul>
    </header>
    <div class="context">
        <div class="up">
            <p>中国移动</p>
            <p>￥17.96</p>
        </div>
        <div class="mid">
            <p>支付宝随机立减</p>
            <p>-￥0.01</p>
        </div>
        <div class="down">
            <p>交易方式</p>
            <p>余额宝</p>
        </div>
    </div>
    <div class="recommend">
        <div class="fuli">支付有福利</div>
        <ul>
            <li>
                <div class="one"><img src="/img/dcfl01.png"></div>
                <div class="two">
                    <p>+10 支付宝积分</p>
                    <p>立即领5倍积分，去兑AD钙奶</p>
                </div>
                <div class="three">
                    <button>去看看</button>
                </div>
            </li>
            <li>
                <div class="one"><img src="/img/dcfl01.png"></div>
                <div class="two">
                    <p>+10 支付宝积分</p>
                    <p>立即领5倍积分，去兑AD钙奶</p>
                </div>
                <div class="three">
                    <button>去看看</button>
                </div>
            </li>
        </ul>
    </div>
  </div>


</template>

<script>


export default {

    methods:{
        toIndex(){
            this.$router.push('/index')
        }
    }
}


</script>

<style scoped>

.PaySuccess_container{
    width: 100%;
    position: relative;
}

.PaySuccess_container header{
    width: 100%;
    background-color: rgb(0, 132, 255);
    position: relative;
}
.PaySuccess_container header span{
    display: flex;
    float: right;
    font-weight: 500;
    color: white;
    font-size: 4.88vw;
    margin: 2vw;
    position: absolute;
    right: 1vw;
    top: -1vw;
}
.PaySuccess_container header ul{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    
}
.PaySuccess_container header ul img{
    width: 10vw;
    height: 10vw;
    margin-top: 2vw;
}
.PaySuccess_container header ul p{
    color: white;
    margin: 2vw;
    font-weight: 400;
}
.PaySuccess_container header ul h1{
    color: white;
    font-size: 12vw;
    margin-bottom: 5vw;
}
.PaySuccess_container .context{
    width: 100%;
    background-color:  rgb(0, 132, 255);
}
.PaySuccess_container .context .up{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin:2vw 0vw; */
    color: white;
}
.PaySuccess_container .context .up p:first-of-type{
    margin-left: 4vw;
    font-size: 3.8vw;
    font-weight: 400;
}
.PaySuccess_container .context .up p:last-of-type{
    margin-right: 4vw;
    font-size: 3.8vw;
    font-weight: 400;
}

.PaySuccess_container .context .mid{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin:2vw 0vw; */
    color: white;
    margin: 2vw 0vw;
}
.PaySuccess_container .context .mid p:first-of-type{
    margin-left: 4vw;
    font-size: 3.8vw;
    font-weight: 400;
}
.PaySuccess_container .context .mid p:last-of-type{
    margin-right: 4vw;
    font-size: 3.8vw;
    font-weight: 400;
}
.PaySuccess_container .context .down{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin:2vw 0vw; */
    color: white;
    padding-bottom: 15vw;
}
.PaySuccess_container .context .down p:first-of-type{
    margin-left: 4vw;
    font-size: 3.8vw;
    font-weight: 400;
}
.PaySuccess_container .context .down p:last-of-type{
    margin-right: 4vw;
    font-size: 3.8vw;
    font-weight: 400;
}
.PaySuccess_container .recommend{
    width: 95%;
    margin: 0 auto;
    position: absolute;
    top: 65vw;
    left: 2vw;
    background-color: white;
    border-radius: 2vw;
}
.PaySuccess_container .recommend .fuli{
    font-size: 4.5vw;
    font-weight: 700;
    margin: 2vw;
}
.PaySuccess_container .recommend li{
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-bottom: 2vw;
    border-bottom: 0.3vw solid #dbd5d5;
}
.PaySuccess_container .recommend li img{
    width: 15vw;
    height: 15vw;
    margin-top: 2vw;
}
.PaySuccess_container .recommend li .two{
    flex: 2;
    margin-left: 2vw;
}
.PaySuccess_container .recommend li .two p:first-of-type{
    font-size: 3.8vw;
    font-weight: 550;
    margin: 2vw 0vw;
}
.PaySuccess_container .recommend li .two p:last-of-type{
    font-size: 3.2vw;
    font-weight: 550;
    color: #666;
    margin-bottom: 2vw;
}
.PaySuccess_container .recommend li .three button{
    margin-right: 2vw;
    border: none;
    outline: none;
    color: white;
    background-color: red;
    width: 14vw;
    height: 8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2vw;
    font-size: 2.8vw;
}



font-size: 4.8vw;
font-weight: 550;








</style>